package com.zhiyou.app.shop.website.dao.pojo;

import java.util.Date;

/**
 * UserStock entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class UserStock implements java.io.Serializable {

	// Fields

	private Integer id;
	private String userId;
	private String stockType;
	private Long stockNum;
	private String price; //买入价格
	private Date buyDate;
	private Date saleDate;
	private Integer round;
	private String attr1;
	private String attr2;
	private String attr3;
	private String attr4;
	private String attr5;

	// Constructors

	/** default constructor */
	public UserStock() {
	}

	/** minimal constructor */
	public UserStock(String userId, String stockType, Long stockNum,
			String price, Integer round) {
		this.userId = userId;
		this.stockType = stockType;
		this.stockNum = stockNum;
		this.price = price;
		this.round = round;
	}

	/** full constructor */
	public UserStock(String userId, String stockType, Long stockNum,
			String price, Date buyDate, Date saleDate, Integer round,
			String attr1, String attr2, String attr3, String attr4, String attr5) {
		this.userId = userId;
		this.stockType = stockType;
		this.stockNum = stockNum;
		this.price = price;
		this.buyDate = buyDate;
		this.saleDate = saleDate;
		this.round = round;
		this.attr1 = attr1;
		this.attr2 = attr2;
		this.attr3 = attr3;
		this.attr4 = attr4;
		this.attr5 = attr5;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getStockType() {
		return this.stockType;
	}

	public void setStockType(String stockType) {
		this.stockType = stockType;
	}

	public Long getStockNum() {
		return this.stockNum;
	}

	public void setStockNum(Long stockNum) {
		this.stockNum = stockNum;
	}

	public String getPrice() {
		return this.price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public Date getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	public Date getSaleDate() {
		return this.saleDate;
	}

	public void setSaleDate(Date saleDate) {
		this.saleDate = saleDate;
	}

	public Integer getRound() {
		return this.round;
	}

	public void setRound(Integer round) {
		this.round = round;
	}

	public String getAttr1() {
		return this.attr1;
	}

	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}

	public String getAttr2() {
		return this.attr2;
	}

	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}

	public String getAttr3() {
		return this.attr3;
	}

	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}

	public String getAttr4() {
		return this.attr4;
	}

	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}

	public String getAttr5() {
		return this.attr5;
	}

	public void setAttr5(String attr5) {
		this.attr5 = attr5;
	}

}